package 作业;

public class Min {
    public static void main(String[] args) {
        int[] arr = {30, 20, 10};
        int Min = arr[0];
        for (int i = 0; i < arr.length;i++ ) {
            if (Min > arr[i]) {
                Min = arr[i];
            }
        }
        System.out.println(Min);
    }
}
